package com.redoor.iot.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.redoor.iot.model.User;
@Mapper
public interface UserMapper {
	
	
	List<User> list(Map<String,Object> map);
    
	
	int count(Map<String,Object> map);
	
	int save(User user);
	
	User get(Long userId);
	
	int update(User user);
	
	
	
	//
    int deleteByPrimaryKey(Long userId);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Long userId);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
    
    
    
}